//
//  HWGoodsModel.m
//  购物车
//
//  Created by 胡伟 on 16/10/10.
//  Copyright © 2016年 huwei. All rights reserved.
//

#import "HWGoodsModel.h"

@implementation HWGoodsModel
-(instancetype)initWithDict:(NSDictionary *)dict{
    if (self = [super init]) {
        self.imageName = dict[@"imageName"];
        self.goodsTitle = dict[@"goodsTitle"];
        self.goodsPrice = dict[@"goodsPrice"];
        self.selectState = [dict[@"selectState"] boolValue];
        self.goodsNum = [dict[@"goodsNum"] intValue];
        
    }
    return self;
}


@end
